package com.zz.parkingsystem.service;

import com.zz.parkingsystem.entity.Order;
import com.zz.parkingsystem.vo.OrderVO;
import com.zz.parkingsystem.vo.ShowVO;
import java.util.List;

public interface OrderService {
    int deleteByPrimaryKey(Long id);

    int insert(Order record);

    int insertSelective(Order record);

    int insertSelectiveUser(Order record);

    Order selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelectiveUser(Order record);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    Order selOrderByStatusByPkId(Integer pkId);

    OrderVO selOrderVOByOiNo(String oiId);

    Order selOrderByOrderItemId(Integer orderItemId);

    Order selOrderByOiNo(String oiNo);

    Order selectOiid(Long id);

    //查所有订单状态
    List<Order> getselectByAllStatus();
}
